package com.qsn.tool.model.dto;

import com.qsn.tool.modules.user.model.po.${entity}PO;
<#assign myDateType = ["LocalDateTime"]/>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * ${table.comment}
 *
 * @author ${author}
 * @date ${date}
 */
<#if entityLombokModel>
@Getter
@Setter
@ToString
</#if>
<#if superEntityClass??>
public class ${entity} implements ${superEntityClass}<#if activeRecord><${entity}></#if> {
<#elseif activeRecord>
public class ${entity} extends Model<${entity}> {
<#else>
@ApiModel(value = "${entity}DTO", description = "${table.comment}传递参数结构")
public class ${entity}DTO extends ${entity}PO {
</#if>
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关键词", position = 1)
    private String keyword;

    @ApiModelProperty(value = "分页搜索开始日期", position = 2)
    private Date searchStartDate;

    @ApiModelProperty(value = "分页搜索结束日期", position = 3)
    private Date searchEndDate;

}